// 引用网络请求中间件
import request from '../../utils/request.js';



export default {
	/**
	 * 提交订单
	 */
	placeOrder(data) {
		return request({
			url: `/consultationOrderApi/add`,
			method: 'POST',
			data
		})
	},
	/**
	 * 支付
	 * @param {string} orderNo
	 */
	sendPay(orderNo) {
		return request({
			url: `/consultationOrderApi/pay?orderNo=${orderNo}`,
			method: 'POST',
		})
	},
	/*  */
	del(data) {
		console.log(data, "dataddddd");
		return request({
			url: `/consultationOrderApi/consultation/del`,
			method: 'POST',
			data
		})
	},


}